#ifndef __LOG_H__
#define __LOG_H__

#include <string>
#include "../Utils/Utils.h"
using namespace std;
class Log
{
    public:
    
    // 构造函数
    Log(int id, const string& log_type,const string& timestamp, int user_id,int device_id,const string& log_content);
    // 获取用户名
    string getLogType() const;
    string getTimestamp() const;
    int getId() const;
    int getUserId() const;
    int getDeviceId() const;
    string getLogContent() const;
    
private:
    int id;
    string log_type;
    string timestamp;
    int user_id;
    int device_id;
    string log_content;

};

#endif